package com.unionftech.content_login.api

import com.unionftech.common.bean.ResponseResult
import com.unionftech.common.recaptcha.RecaptchaInterceptor
import com.unionftech.common.recaptcha.RecaptchaUtil
import com.unionftech.common.utils.Utils
import com.unionftech.content_login.bean.LoginTokenInfo
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.Header
import retrofit2.http.Headers
import retrofit2.http.POST
import java.util.UUID

interface RegisterApi {
    /**
     * 注册接口
     */
    @Headers(
        "requestSource:APP",
        "Content-Type:application/json",
        "systemtype:ANDROID"
    )
    @POST("auth/register")
    suspend fun unionfRegister(
        @Header("uuid") uuid: String,
        @Header("model") model: String,
        @Header("version") version: String,
        @Body body: RequestBody
    ): ResponseResult<LoginTokenInfo>

}